package com.kaili.finance.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.common.response.CommonStatus;
import com.kaili.finance.pojo.dto.account.FinAccountUpdateDTO;
import com.kaili.finance.pojo.entity.FinAccountDetail;
import com.kaili.finance.pojo.entity.FinRecharge;
import com.kaili.finance.pojo.entity.FinTransferAcccounts;
import com.kaili.finance.pojo.vo.*;

import java.util.List;
import java.util.Map;

/**
 * Created by lsw on 18-5-17.
 */

public interface AccountService {
    public List<FinAccountInfoVO> queryAccountByLike(String accountName);

    public Page<FinAccountDetailVO> queryAccountById(Page<FinAccountDetailVO> page,Long id);

    public CommonStatus addTranfer(FinTransferAcccounts fInAdjustVO);

    public CommonStatus addRechargeWithdraw(FinRecharge finRechargeWithdrawVO);

    public Page<FinRechargeVO> queryRechargeWithdrawRecord(Integer type,Long accountId,Page<FinRechargeVO> page);

    public Page<FinTransferAccountsDetailVO> queryAdjustRecord(Page<FinTransferAccountsDetailVO> page,Long inAccountId, Long outAccountId);

    //add xinglei 网点名称模糊查询
    public List<FinSiteVO> querySiteNameByLike(String siteId,String siteName);

    public Long autoCreateAccountId();

    public CommonStatus addAccount(FinAccountDetail finAccountVO);

    public List<FinNewAccountInfoVO> queryAccountNameByLike(String accountName);

    public FinLoginAccountVO queryAccountByLogin(Integer currentEmployeeId);

    public CommonStatus updateAccount(List<FinAccountUpdateDTO> accountList);
}
